<?php

/*
 *Copyright (C), WhiteBlue
 *File name: debug.php
 *Author: Version: 2015.3.9
 *Description: 输出调试信息
 */

class debug
{

    function echo_msg($router)
    {
        echo '路径:' . $router->getAction() . '||';
        echo '控制器:' . $router->getController() . '||';
        echo '方法:' . $router->getMethod() . '||';
        echo '参数:';
        var_dump($router->getParams());
        echo '<br>';
    }

}